package org.jeecg.modules.health.admin.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 健康状态表
 * @Author: jeecg-boot
 * @Date:   2020-04-10
 * @Version: V1.0
 */
@Data
@TableName("healthstate")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="healthstate对象", description="健康状态表")
public class Healthstate {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**测量的日期*/

    @ApiModelProperty(value = "测量的日期")
	private Date date;
	/**对应的用户账号*/
	@Excel(name = "对应的用户账号", width = 15)
    @ApiModelProperty(value = "对应的用户账号")
	private String userAccount;
	/**血压低压值*/
	@Excel(name = "血压低压值", width = 15)
    @ApiModelProperty(value = "血压低压值")
	private String pressurelow;
	/**血压高压值*/
	@Excel(name = "血压高压值", width = 15)
    @ApiModelProperty(value = "血压高压值")
	private String pressurehigh;
	/**心跳值*/
	@Excel(name = "心率值", width = 15)
    @ApiModelProperty(value = "心跳值")
	private String heartbeat;
	/**体温值*/
	@Excel(name = "体温值", width = 15)
    @ApiModelProperty(value = "体温值")
	private String animalheat;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "测量的日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
	private String updateBy;
	/**修改时间*/
    @ApiModelProperty(value = "修改时间")
	private Date updateTime;
}
